package com.ruoyi.web.controller.wx;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.datastatistics.service.IRealtimegatherdataXbService;
import com.ruoyi.datastatistics.vo.XbDatabaseVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/wx/realtimedataxb")

public class WxRealtimeDataXbController extends BaseController{
    @Autowired
    private IRealtimegatherdataXbService realtimegatherdataXbService;
    /**
     * 查询户表档案和户表实时数据
     */
    @GetMapping("/basedataXb")
    public TableDataInfo basedataXb(XbDatabaseVO req) {
        startPage();
        return getDataTable(realtimegatherdataXbService.basedataXb(req));
    }
}
